/**
 *====================================================
 * 文件名称: FinanceWriteoffEntity.java
 * 修订记录：
 * No    日期				作者(操作:具体内容)
 * 1.    2016年1月11日			chenxy(创建:创建文件)
 *====================================================
 * 类描述：(说明未实现或其它不应生成javadoc的内容)
 */
package com.yuexunit.finance.project.entity;

import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import com.yuexunit.finance.project.entity.lexicon.WriteoffTypeEnum;

/**
 * @ClassName: FinanceWriteoffEntity
 * @Description: TODO(这里用一句话描述这个类的作用)
 * @author chenxy
 * @date 2016年1月11日 下午2:42:31
 */
@Entity
@Table(name = "FIN_FINANCE_WRITEOFF")
public class FinanceWriteoffEntity {

	/** 核销ID */
	@Id
	@GeneratedValue
	@Column(name = "WRITEOFF_ID")
	private Long writeoffId;

	/** 付款方ID */
	@Column(name = "DISBURSEMENT_ID")
	private Long disbursementId;

	/** 付款方租户ID */
	@Column(name = "DISBURSEMENT_TENANT_ID")
	private Long disbursementTenantId;

	/** 付款银行 */
	@Column(name = "DISBURSEMENT_BANK")
	private String disbursementBank;

	/** 付款卡号 */
	@Column(name = "DISBURSEMENT_CREDIT_CARD")
	private String disbursementCreditCard;

	/** 付款人 */
	@Column(name = "DISBURSEMENT_NAME")
	private String disbursementName;

	/** 收款方ID */
	@Column(name = "RECEIPT_ID")
	private Long receiptId;

	/** 收款方租户ID */
	@Column(name = "RECEIPT_TENANT_ID")
	private Long receiptTenantId;

	/** 收款银行 */
	@Column(name = "RECEIPT_BANK")
	private String receiptBank;

	/** 收款人 */
	@Column(name = "RECEIPT_NAME")
	private String receiptName;

	/** 收款卡号 */
	@Column(name = "RECEIPT_CREDIT_CARD")
	private String receiptCreditCard;

	/** 账户信息ID */
	@Column(name = "ACCOUNT_INFO_ID")
	private Long accountInfoId;
	
	/** 付款流水号 */
	@Column(name = "WRITEOFF_NUMBER")
	private String writeoffNumber;

	/** 核销金额 */
	@Column(name = "WRITEOFF_AMOUNT")
	private BigDecimal writeoffAmount;

	/** 核销时间 */
	@Column(name = "WRITEOFF_DT")
	private Date writeoffDateTime;

	/** 核销备注 */
	@Column(name = "WRITEOFF_REMARK")
	private String writeoffRemark;

	/** 核销类型 0:未知/1:付款单/2:收款单 */
	@Column(name = "WRITEOFF_TYPE")
	private WriteoffTypeEnum writeoffType;
	
	/** 核销凭证 */
	@Column(name = "FILE_UUID")
	private String fileUuid;

	/** 操作人租户ID */
	@Column(name = "OPERATOR_TENANT_ID")
	private Long operatorTenantId;

	/** 操作人ID */
	@Column(name = "OPERATOR_ID")
	private Long operatorId;

	/** 操作人 */
	@Column(name = "OPERATOR")
	private String operator;

	/** 操作时间 */
	@Column(name = "OPERATE_DT")
	private Date operateDateTime;
	
	/** 资金拆入信息ID */
	@Column(name = "LONAS_MONEY_ID")
	private Long loansMoneyId;

	public Long getLoansMoneyId() {
		return loansMoneyId;
	}

	public void setLoansMoneyId(Long loansMoneyId) {
		this.loansMoneyId = loansMoneyId;
	}

	public Long getAccountInfoId() {
		return accountInfoId;
	}

	public void setAccountInfoId(Long accountInfoId) {
		this.accountInfoId = accountInfoId;
	}

	public String getFileUuid() {
		return fileUuid;
	}

	public void setFileUuid(String fileUuid) {
		this.fileUuid = fileUuid;
	}

	public Long getWriteoffId() {
		return writeoffId;
	}

	public void setWriteoffId(Long writeoffId) {
		this.writeoffId = writeoffId;
	}

	public Long getDisbursementId() {
		return disbursementId;
	}

	public void setDisbursementId(Long disbursementId) {
		this.disbursementId = disbursementId;
	}

	public Long getDisbursementTenantId() {
		return disbursementTenantId;
	}

	public void setDisbursementTenantId(Long disbursementTenantId) {
		this.disbursementTenantId = disbursementTenantId;
	}

	public Long getReceiptId() {
		return receiptId;
	}

	public void setReceiptId(Long receiptId) {
		this.receiptId = receiptId;
	}

	public Long getReceiptTenantId() {
		return receiptTenantId;
	}

	public void setReceiptTenantId(Long receiptTenantId) {
		this.receiptTenantId = receiptTenantId;
	}

	public String getDisbursementBank() {
		return disbursementBank;
	}

	public void setDisbursementBank(String disbursementBank) {
		this.disbursementBank = disbursementBank;
	}

	public String getDisbursementCreditCard() {
		return disbursementCreditCard;
	}

	public void setDisbursementCreditCard(String disbursementCreditCard) {
		this.disbursementCreditCard = disbursementCreditCard;
	}

	public String getDisbursementName() {
		return disbursementName;
	}

	public void setDisbursementName(String disbursementName) {
		this.disbursementName = disbursementName;
	}

	public String getReceiptBank() {
		return receiptBank;
	}

	public void setReceiptBank(String receiptBank) {
		this.receiptBank = receiptBank;
	}

	public String getReceiptName() {
		return receiptName;
	}

	public void setReceiptName(String receiptName) {
		this.receiptName = receiptName;
	}

	public String getReceiptCreditCard() {
		return receiptCreditCard;
	}

	public void setReceiptCreditCard(String receiptCreditCard) {
		this.receiptCreditCard = receiptCreditCard;
	}

	public String getWriteoffNumber() {
		return writeoffNumber;
	}

	public void setWriteoffNumber(String writeoffNumber) {
		this.writeoffNumber = writeoffNumber;
	}

	public BigDecimal getWriteoffAmount() {
		return writeoffAmount;
	}

	public void setWriteoffAmount(BigDecimal writeoffAmount) {
		this.writeoffAmount = writeoffAmount;
	}

	public Date getWriteoffDateTime() {
		return writeoffDateTime;
	}

	public void setWriteoffDateTime(Date writeoffDateTime) {
		this.writeoffDateTime = writeoffDateTime;
	}

	public String getWriteoffRemark() {
		return writeoffRemark;
	}

	public void setWriteoffRemark(String writeoffRemark) {
		this.writeoffRemark = writeoffRemark;
	}

	public WriteoffTypeEnum getWriteoffType() {
		return writeoffType;
	}

	public void setWriteoffType(WriteoffTypeEnum writeoffType) {
		this.writeoffType = writeoffType;
	}

	public Long getOperatorTenantId() {
		return operatorTenantId;
	}

	public void setOperatorTenantId(Long operatorTenantId) {
		this.operatorTenantId = operatorTenantId;
	}

	public Long getOperatorId() {
		return operatorId;
	}

	public void setOperatorId(Long operatorId) {
		this.operatorId = operatorId;
	}

	public String getOperator() {
		return operator;
	}

	public void setOperator(String operator) {
		this.operator = operator;
	}

	public Date getOperateDateTime() {
		return operateDateTime;
	}

	public void setOperateDateTime(Date operateDateTime) {
		this.operateDateTime = operateDateTime;
	}

}
